package com.ukao.steward.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by kefu001 on 2018/4/23.
 */

public class BatchToShopBean extends  BaseBean<BatchToShopBean> implements Parcelable {


        /**
         * mercId : 1
         * mercName : 友靠商户
         * finishText : 已完成
         * code : 79460954
         * storeTel : 18777554447
         * factoryId : 2
         * productCnt : 1
         * factoryName : 观象二路
         * cityId : 1
         * isFinish : 1
         * storeId : 19
         * factoryWorkTime : 1501657021000
         * logisticsWorkPhone : 15573583590
         * annexCnt : 1
         * logisticsWorkName : 大物流
         * logisticsWorkTime : 1505285612000
         * statusText : 到门店
         * storeConfirmCnt : 0
         * storeWorkTime : 1517884870000
         * storeName : 友靠麓云店
         * id : 15
         * status : 3
         */

        private int mercId;
        private String mercName;
        private String finishText;
        private String code;
        private String storeTel;
        private int factoryId;
        private int productCnt;
        private String factoryName;
        private int cityId;
        private int isFinish;
        private int storeId;
        private long factoryWorkTime;
        private String logisticsWorkPhone;
        private int annexCnt;
        private String logisticsWorkName;
        private long logisticsWorkTime;
        private String statusText;
        private int storeConfirmCnt;
        private long storeWorkTime;
        private String storeName;
        private int id;
        private int status;

        public int getMercId() {
            return mercId;
        }

        public void setMercId(int mercId) {
            this.mercId = mercId;
        }

        public String getMercName() {
            return mercName;
        }

        public void setMercName(String mercName) {
            this.mercName = mercName;
        }

        public String getFinishText() {
            return finishText;
        }

        public void setFinishText(String finishText) {
            this.finishText = finishText;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getStoreTel() {
            return storeTel;
        }

        public void setStoreTel(String storeTel) {
            this.storeTel = storeTel;
        }

        public int getFactoryId() {
            return factoryId;
        }

        public void setFactoryId(int factoryId) {
            this.factoryId = factoryId;
        }

        public int getProductCnt() {
            return productCnt;
        }

        public void setProductCnt(int productCnt) {
            this.productCnt = productCnt;
        }

        public String getFactoryName() {
            return factoryName;
        }

        public void setFactoryName(String factoryName) {
            this.factoryName = factoryName;
        }

        public int getCityId() {
            return cityId;
        }

        public void setCityId(int cityId) {
            this.cityId = cityId;
        }

        public int getIsFinish() {
            return isFinish;
        }

        public void setIsFinish(int isFinish) {
            this.isFinish = isFinish;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public long getFactoryWorkTime() {
            return factoryWorkTime;
        }

        public void setFactoryWorkTime(long factoryWorkTime) {
            this.factoryWorkTime = factoryWorkTime;
        }

        public String getLogisticsWorkPhone() {
            return logisticsWorkPhone;
        }

        public void setLogisticsWorkPhone(String logisticsWorkPhone) {
            this.logisticsWorkPhone = logisticsWorkPhone;
        }

        public int getAnnexCnt() {
            return annexCnt;
        }

        public void setAnnexCnt(int annexCnt) {
            this.annexCnt = annexCnt;
        }

        public String getLogisticsWorkName() {
            return logisticsWorkName;
        }

        public void setLogisticsWorkName(String logisticsWorkName) {
            this.logisticsWorkName = logisticsWorkName;
        }

        public long getLogisticsWorkTime() {
            return logisticsWorkTime;
        }

        public void setLogisticsWorkTime(long logisticsWorkTime) {
            this.logisticsWorkTime = logisticsWorkTime;
        }

        public String getStatusText() {
            return statusText;
        }

        public void setStatusText(String statusText) {
            this.statusText = statusText;
        }

        public int getStoreConfirmCnt() {
            return storeConfirmCnt;
        }

        public void setStoreConfirmCnt(int storeConfirmCnt) {
            this.storeConfirmCnt = storeConfirmCnt;
        }

        public long getStoreWorkTime() {
            return storeWorkTime;
        }

        public void setStoreWorkTime(long storeWorkTime) {
            this.storeWorkTime = storeWorkTime;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.mercId);
        dest.writeString(this.mercName);
        dest.writeString(this.finishText);
        dest.writeString(this.code);
        dest.writeString(this.storeTel);
        dest.writeInt(this.factoryId);
        dest.writeInt(this.productCnt);
        dest.writeString(this.factoryName);
        dest.writeInt(this.cityId);
        dest.writeInt(this.isFinish);
        dest.writeInt(this.storeId);
        dest.writeLong(this.factoryWorkTime);
        dest.writeString(this.logisticsWorkPhone);
        dest.writeInt(this.annexCnt);
        dest.writeString(this.logisticsWorkName);
        dest.writeLong(this.logisticsWorkTime);
        dest.writeString(this.statusText);
        dest.writeInt(this.storeConfirmCnt);
        dest.writeLong(this.storeWorkTime);
        dest.writeString(this.storeName);
        dest.writeInt(this.id);
        dest.writeInt(this.status);
    }

    public BatchToShopBean() {
    }

    protected BatchToShopBean(Parcel in) {
        this.mercId = in.readInt();
        this.mercName = in.readString();
        this.finishText = in.readString();
        this.code = in.readString();
        this.storeTel = in.readString();
        this.factoryId = in.readInt();
        this.productCnt = in.readInt();
        this.factoryName = in.readString();
        this.cityId = in.readInt();
        this.isFinish = in.readInt();
        this.storeId = in.readInt();
        this.factoryWorkTime = in.readLong();
        this.logisticsWorkPhone = in.readString();
        this.annexCnt = in.readInt();
        this.logisticsWorkName = in.readString();
        this.logisticsWorkTime = in.readLong();
        this.statusText = in.readString();
        this.storeConfirmCnt = in.readInt();
        this.storeWorkTime = in.readLong();
        this.storeName = in.readString();
        this.id = in.readInt();
        this.status = in.readInt();
    }

    public static final Parcelable.Creator<BatchToShopBean> CREATOR = new Parcelable.Creator<BatchToShopBean>() {
        @Override
        public BatchToShopBean createFromParcel(Parcel source) {
            return new BatchToShopBean(source);
        }

        @Override
        public BatchToShopBean[] newArray(int size) {
            return new BatchToShopBean[size];
        }
    };
}
